package org.begincode.core.model;

import java.util.Date;

public class Resource
{
    private Integer resourceId;
    private String resourceName;
    private String resourceAbstract;
    private String downAddr;
    private String delFlag;
    private Integer downCount;
    private Date createDatetime;
    private Integer resourceTypeId;
    private String resourceContent;
    private String pic;
    private ResourceType resourceType;

    public Integer getResourceId()
    {
        return this.resourceId;
    }

    public void setResourceId(Integer resourceId) {
        this.resourceId = resourceId;
    }

    public String getResourceName() {
        return this.resourceName;
    }

    public void setResourceName(String resourceName) {
        this.resourceName = (resourceName == null ? null : resourceName.trim());
    }

    public String getResourceAbstract() {
        return this.resourceAbstract;
    }

    public void setResourceAbstract(String resourceAbstract) {
        this.resourceAbstract = (resourceAbstract == null ? null : resourceAbstract.trim());
    }

    public String getDownAddr() {
        return this.downAddr;
    }

    public void setDownAddr(String downAddr) {
        this.downAddr = (downAddr == null ? null : downAddr.trim());
    }

    public String getDelFlag() {
        return this.delFlag;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    public Integer getResourceTypeId() {
        return this.resourceTypeId;
    }

    public void setResourceTypeId(Integer resourceTypeId) {
        this.resourceTypeId = resourceTypeId;
    }

    public String getResourceContent() {
        return this.resourceContent;
    }

    public void setResourceContent(String resourceContent) {
        this.resourceContent = (resourceContent == null ? null : resourceContent.trim());
    }

    public Integer getDownCount() {
        return this.downCount;
    }

    public void setDownCount(Integer downCount) {
        this.downCount = downCount;
    }

    public Date getCreateDatetime() {
        return this.createDatetime;
    }

    public void setCreateDatetime(Date createDatetime) {
        this.createDatetime = createDatetime;
    }

    public String getPic() {
        return this.pic;
    }

    public void setPic(String pic) {
        this.pic = pic;
    }

    public ResourceType getResourceType() {
        return this.resourceType;
    }

    public void setResourceType(ResourceType resourceType) {
        this.resourceType = resourceType;
    }
}